﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace JXT.PrimaryKey.Batman.Web.Mvc.Models
{
    public enum AuthenticationErrorCode : byte
    {
        /// <summary>
        /// 未知错误
        /// </summary>
        UnknownError = 0x00,
        /// <summary>
        /// 登录凭证验证失败
        /// </summary>
        LoginAuthorizationError = 0x01,
        /// <summary>
        /// cookie读取错误
        /// </summary>
        CookieError = 0x02,
        /// <summary>
        /// 令牌错误
        /// </summary>
        TokenFailure = 0x03,
        /// <summary>
        /// 过期设置错误
        /// </summary>
        ExpriesFailure = 0x04,
        /// <summary>
        /// 退出操作失败
        /// </summary>
        LogoutAuthorizationError = 0x05
    }
}
